package cn.iocoder.yudao.module.product.controller.admin.recommend.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 落地页SKU推荐 Response VO")
@Data
@ExcelIgnoreUnannotated
public class RecommendRespVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "20146")
    @ExcelProperty("主键")
    private Long id;

    @Schema(description = "推荐名", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    @ExcelProperty("推荐名")
    private String name;

    @Schema(description = "推荐描述", requiredMode = Schema.RequiredMode.REQUIRED, example = "你说的对")
    @ExcelProperty("推荐描述")
    private String description;

    @Schema(description = "卖点数组，JSON 格式 []")
    @ExcelProperty("卖点数组，JSON 格式 []")
    private List<String> sellPoints;

    @Schema(description = "标签")
    @ExcelProperty("标签")
    private String tag;

    @Schema(description = "排序", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("排序")
    private Integer sort;

    @Schema(description = "子类ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "12479")
    @ExcelProperty("子类ID")
    private Long categoryId;

    @Schema(description = "商品ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "30912")
    @ExcelProperty("商品ID")
    private Long spuId;

    @Schema(description = "商品 SKU 编号，关联 ProductSkuDO 的 id 编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "426")
    @ExcelProperty("商品 SKU 编号，关联 ProductSkuDO 的 id 编号")
    private Long skuId;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}
